<link href="../css/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
<link href="../css/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="../css/table.css" rel="stylesheet" type="text/css" />

<script src="../js/jquery.min.js" type="text/javascript"></script>
<script src="../js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script src="../js/jquery-ui.min.js" type="text/javascript"></script>

<script>	
$(document).ready(function() {
	$("#formID").validationEngine();
});
</script>
<?php 
include "../inc/db.php";
$sql="select * from tb_expired;";
$hasil=mysql_query($sql);
$kolom=mysql_fetch_array($hasil);
?>
<p>Expire Limit : <?php echo $kolom[0]; ?> day(s)</p>
<br>
<form action="expiredEditProses.php" id="formID" method="post">
<table width="200" class="bordered">
  <tr>
    <td width="72">Set To</td>
    <td width="8"> :</td>
    <td width="98"><input name="value" type="text" class="validate[required]" id="value" value="<?php echo $kolom[0]; ?>" size="5"/>
    <input name="valOld" type="hidden" id="valOld" value="<?php echo $kolom[0]; ?>" /></td>
  </tr>
  <tr>
    <td colspan="3"><div align="center">
      <input type="submit" name="save" id="save" value="Save" />
      <a href="index.php">
      <input type="button" name="cancel" id="cancel" value="Cancel" /></a>
    </div></td>
  </tr>
</table>
</form>
